﻿using System;

namespace BaseSyntax.Copy
{
	class MyClass
	{
		public int a = 2;
	}
	
	public class DeepCopy:ICloneable
	{
		MyClass mc = new MyClass();
		// 实现 Icloneable
		public object Clone()
		{
			return  new DeepCopy();
		}
	}
}